Skip to content

Add external Vision Transformer sample#570

Merged
kainino0x merged 1 commit into
webgpu:mainfrom
lyonsno:external-vit-attention
Jul 7, 2026
Merged

Add external Vision Transformer sample#570
kainino0x merged 1 commit into
webgpu:mainfrom
lyonsno:external-vit-attention

Conversation

@lyonsno

@lyonsno lyonsno commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Adds an external sample that runs DeiT-Tiny Vision Transformer inference in WebGPU compute shaders and visualizes attention maps as interactive heatmap overlays.

This follows the external sample path suggested in #569, and is related to #350.

External sample: https://lyonsno.github.io/webgpu-vit-attention/
Repository: https://github.com/lyonsno/webgpu-vit-attention

I'm happy to make any changes that may be needed. Please let me know whether this sample is appropriate for inclusion.

@kainino0x kainino0x enabled auto-merge (squash) July 7, 2026 02:25
@kainino0x

Copy link
Copy Markdown
Collaborator

Thanks!

@kainino0x kainino0x merged commit 4181da1 into webgpu:main Jul 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants